使用python爬取App安卓应用商店评论并生成词云

您所在的位置:网站首页 app store评论区 使用python爬取App安卓应用商店评论并生成词云

使用python爬取App安卓应用商店评论并生成词云

2024-07-16 06:08| 来源: 网络整理| 查看: 265

目录 华为应用商店评论爬虫 1. 分析网页 2. 编码 酷传网 词云 1. 词云生成流程: 2. 编码 3. 词云图

华为应用商店评论爬虫

这里以潮汐APP为例,华为应用商店地址:https://appgallery.huawei.com/app/C10763864

1. 分析网页

使用Chrome打开应用商店地址,按F12打开开发工具分析评论请求数据

在这里插入图片描述

请求地址与参数:

https://web-drcn.hispace.dbankcloud.cn/uowap/index?method=internal.user.commenList3&serviceType=20&reqPageNum=1&maxResults=25&appid=C10763864&version=10.0.0&zone=&locale=zh

返回数据结构:

{ "devWords": [], "score": "4.2", "hotList": [], "ratingDstList": [{ "rating": 1, "ratingCounts": 12 }, { "rating": 2, "ratingCounts": 5 }, { "rating": 3, "ratingCounts": 10 }, { "rating": 4, "ratingCounts": 23 }, { "rating": 5, "ratingCounts": 90 }], "totalPages": 9, "count": 205, "stars": "4.5", "list": [{ "accountId": "", "accountName": "伊*******", "approveCounts": 0, "cipherVersion": "", "commentAppId": "C10763864", "commentId": "78f27a9e5efe4f97855dfdc613dfd3bf", "commentInfo": "总体感觉体验还不错吧!就是能不能音乐声音小点?毕竟有些音乐很嘈杂,让人听起来很不舒服,就是专注不起来。", "commentType": 0, "id": "78f27a9e5efe4f97855dfdc613dfd3bf", "isAmazing": 0, "isModified": 0, "levelUrl": "", "logonId": "", "nickName": "伊*******", "operTime": "12/30/2021, 17:59", "phone": "荣耀V40", "photoUrl": "", "rating"


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3